package com.gaofeng.demo18;

public class Car {
    String carName;
    int carAge;
    String carColor;

    class Engine{
        String enginName;
        int engineAge;
        public void show(){
            System.out.println(enginName);
            System.out.println(carName);
        }
    }

    public void show(){
        System.out.println(carName);
        Engine e = new Engine();
        e.enginName = "封神";
        e.engineAge = 32;

        System.out.println(e.engineAge);
        System.out.println(e.enginName);

    }

}
